package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 城市路费配置表
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:07
 */
@Getter
@Setter
@TableName("t_city_fare_config")
@ApiModel(value = "CityFareConfig对象", description = "城市路费配置表")
public class CityFareConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("城市路费配置id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("上级ID")
    @TableField("partner_id")
    private Long partnerId;

    @ApiModelProperty("城市ID")
    @TableField("city_id")
    private Long cityId;

    @ApiModelProperty("日间开始时间")
    @TableField("day_start_time")
    private String dayStartTime;

    @ApiModelProperty("日间结束时间")
    @TableField("day_end_time")
    private String dayEndTime;

    @ApiModelProperty("夜间开始时间")
    @TableField("night_start_time")
    private String nightStartTime;

    @ApiModelProperty("夜间结束时间")
    @TableField("night_end_time")
    private String nightEndTime;

    @ApiModelProperty("日间起步距离（单位：km）")
    @TableField("day_start_distance")
    private BigDecimal dayStartDistance;

    @ApiModelProperty("日间起步价")
    @TableField("day_start_price")
    private BigDecimal dayStartPrice;

    @ApiModelProperty("日间起步价外每公里多少钱")
    @TableField("day_pre_price")
    private BigDecimal dayPrePrice;

    @ApiModelProperty("夜间起步距离（单位：km）")
    @TableField("night_start_distance")
    private BigDecimal nightStartDistance;

    @ApiModelProperty("夜间起步价")
    @TableField("night_start_price")
    private BigDecimal nightStartPrice;

    @ApiModelProperty("夜间起步价外每公里多少钱")
    @TableField("night_pre_price")
    private BigDecimal nightPrePrice;

    @ApiModelProperty("虚拟路程")
    @TableField("dummy_distance")
    private BigDecimal dummyDistance;


    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
